package com.example.newdemo.view;

import android.widget.Button;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.example.newdemo.BaseActivity;
import com.example.newdemo.R;

public class ViewNextIDActivity extends BaseActivity {

    @Override
    protected int getLayoutId() {
        return R.layout.act_view_next;
    }

    @Override
    protected void initView() {
        RelativeLayout rlViewBody = findViewById(R.id.rl_view_body);

        TextView tv = new TextView(this);
        tv.setTag(100000);
        tv.setText("文本");

        tv.setNextFocusDownId(R.id.appbar);


        Button button = new Button(this);
        button.setText("按钮");
        button.setTag(100001);




    }

    @Override
    protected void initData() {

    }


}
